<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" isErrorPage="true"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page import="org.slf4j.Logger,org.slf4j.LoggerFactory"%>
<%
	response.setStatus(500);
%>
<%
	Throwable ex = null;
	if (exception != null) {
		ex = exception;
	}
	Throwable t = (Throwable) request.getAttribute("javax.servlet.jsp.jspException");
	if (t == null) {
		if (request.getAttribute("javax.servlet.error.exception") != null) {
			ex = (Throwable) request.getAttribute("javax.servlet.error.exception");
		}
	} else {
		ex = t;
	}

	//记录日志
	Logger logger = LoggerFactory.getLogger("500.jsp");
	if (ex != null) {
		logger.error(ex.getMessage(), ex);
	}
%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<%@ include file="../../commons/taglibs.jsp"%>
<title>${htmlTitleText}</title>
<c:set var="huiBase" value="${mimeBase}/vendors/H-ui-2.3" />
<!--[if lt IE 9]>
<script type="text/javascript" src="${mimeBase}/vendors/H-ui-2.3/lib/html5.js?v=${version}"></script>
<script type="text/javascript" src="${mimeBase}/vendors/H-ui-2.3/lib/respond.min.js?v=${version}"></script>
<script type="text/javascript" src="${mimeBase}/vendors/H-ui-2.3/lib/PIE_IE678.js?v=${version}"></script>
<![endif]-->
<link href="${huiBase}/css/H-ui.min.css?v=${version}" rel="stylesheet" type="text/css" />
<link href="${huiBase}/css/H-ui.admin.css?v=${version}" rel="stylesheet" type="text/css" />
<link href="${huiBase}/skin/default/skin.css?v=${version}" rel="stylesheet" type="text/css" id="skin" />
<link href="${huiBase}/lib/Hui-iconfont/1.0.1/iconfont.css?v=${version}" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
</style>
</head>
<body class="no-skin">
	<section class="page-404 minWP text-c">
		<p class="error-title">
			<i class="Hui-iconfont va-m"></i>
			<span class="va-m"> 500</span>
		</p>
		<p class="error-description">不好意思，您系统异常~</p>
		<p class="error-info"></p>

	</section>
</body>
</html>